#ifndef INCLUDED_BULLET_H //if not defined
#define INCLUDED_BULLET_H

#include <SGE.h> //if you use quotes, the compiler will look at the local file whereas with angle brackets looks at the include paths e.g .../files. Angled doesnt only look at local, looks everywhere. If its not in my project use angle, if its in my project use quotes
using namespace SGE;

class Bullet
{
public:
	Bullet();
	~Bullet();

	void Load();
	void Unload();
	void Update(float deltaTime);
	void Render();

	void Fire(const SVector2& pos, const SVector2& vel);
	void Kill();
	bool IsActive() const				{return mActive;}
	SCircle GetBoundingCircle() const	{return SCircle(mPosition,10.0f);}
private:
	SGE_Sprite mSprite;
	SVector2 mPosition;
	SVector2 mVelocity;
	bool mActive;
	



};


#endif
//OOP-Object orientated programming //properties(private members) and attributes(functions)
//	ability to define user type
//	->what is a type?
//	-Properties(member variables)
//	-behaviours (member functions)
//
//	"what does it contain?"
//	"what can you do with it?"
//	-In c++, type is created with "class" keyword
//	-What does a class provide?
//	i) Encapsulation-hiding things you dont want the users to see e.g cpp file for headers. Header files is decleration but cpp is definition
//	ii) Inheritance
//	iii) Polymorphism

